package com.kfgj.hkp.common.context;


import com.kfgj.hkp.common.auth.Token;
import com.kfgj.hkp.common.dic.Dictionary;
import com.kfgj.hkp.common.user.entity.BaseUserEntity;
import lombok.Data;

/**
 * Created by liwensihan on 2015-8-18.
 *
 * @author liwensihan
 */
@Data
public class RequestContext {

    private BaseUserEntity userInfo;

    /**
     * SAAS企业编码
     */
    private String cpyCode;

    /**
     * 用户编码
     */
    private String userCode;

    /**
     * 部门编码
     */
    private String deptCode;

    /**
     * 授权key
     */
    private String authKey;

    /**
     * 签名值
     */
    private String sign;

    /**
     * 请求的ID
     */
    private String requestId;
    /**
     * 请求IP
     */
    private String requestIp;

    /**
     * 时间戳
     */
    private String timestamp;

    /**
     * 登陆Token
     */
    private Token token;

    /**
     * 访问类型
     */

    private Dictionary clientType;
}
